/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.panomedic.gui;

import com.panomedic.Constants;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JLabel;

/**
 *
 * @author Yare
 */
public class StatusBar extends JLabel {
    
    //private JLabel label;

    public StatusBar() {
        super();
        super.setPreferredSize(new Dimension(200,20));
        //label = new JLabel("Status Bar");
        this.setBackground(Color.LIGHT_GRAY);
        //this.add(label);
        setMessage(Constants.APPLICATION_NAME);
    }
    
    public void setMessage(String s) {
        setText("  "+s);
    }

}
